package com.jzmy.cultivate.feign;

import com.example.commons.entity.ExpertsDO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 专家模块feign接口
 * @author mengzhichao
 * @create 2022-08-29-9:14
 */
@Component
@FeignClient(name = "jzmy-specialist",path = "/specialist" )   //服务调用
public interface ExpertsOpenFeign {

    @PostMapping("/ExpertsFeignController/findOneByKv")
    ExpertsDO findOneByKv(Object... params);

}
